import requests
from lxml import etree, html

url = 'https://fangchan.hao.360.cn/'
res = requests.get(url)
html_tree = etree.HTML(res.text)
links = html_tree.cssselect(".query-recommend .query-recommend-list ul li a")
for link in links:
    print(link.text)
